package com.gnuc.appengine.tutotials.restful.web;
 
import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Router;
 
import com.gnuc.appengine.tutotials.restful.web.router.HelloWorldRouter;
 
public class WebSwitch extends Application
{
    @Override
    public Restlet createInboundRoot()
    {
        Router router = new Router(getContext());
        router.attach("/web/{handle}", HelloWorldRouter.class);
        return router;
    }
}